export const fix1 = (val) => {
  if (typeof val === 'string') {
    val = +val
  }
  return (Math.round(val * 10) / 10) + ''
}

export const fix2 = (val) => {
  if (typeof val === 'string') {
    val = +val
  }
  return (Math.round(val * 100) / 100) + ''
}
